﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LPY.LeHealth.DAL;
using LPY.LeHealth.DTO;

namespace LPY.LeHealth.Service
{
      public  class ClassifyTypeService
    {

          private ClassifyTypeDAL classifyTypeDAL;

          public ClassifyTypeService()
          {
              classifyTypeDAL = new ClassifyTypeDAL();
          }

          public int AddReplyd(ReplyDTO r)
          {
              return classifyTypeDAL.AddReplyd(r);
          }
          /// <summary>
          /// 查询体检范围分类表
          /// </summary>
          /// <returns></returns>
          public List<ClassifyType> GetClassifytype()
          {
              return classifyTypeDAL.GetClassifytype();
          }

          /// <summary>
          /// 查询体检项表分类
          /// </summary>
          /// <param name="Tid"></param>
          /// <returns></returns>
          public List<Classify> GetClassify(int Tid)
          {
              return classifyTypeDAL.GetClassify(Tid);
          }
        
    }
}
